projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
028d65f
)
net/designware: align DMA buffer descriptors to D$ line
author
Alexey Brodkin
<
[email protected]
>
Fri, 21 Mar 2014 12:16:57 +0000
(16:16 +0400)
committer
Tom Rini
<
[email protected]
>
Fri, 28 Mar 2014 19:06:30 +0000
(15:06 -0400)
It's important to have ability to flush/invalidate each DMA buffer descriptor
individually to prevent incoherency of adjacent BDs.
Signed-off-by: Alexey Brodkin <
[email protected]
>
Cc: Vineet Gupta <
[email protected]
>
Cc: Joe Hershberger <
[email protected]
>
Cc: Vipin Kumar <
[email protected]
>
Cc: Stefan Roese <
[email protected]
>
Cc: Shiraz Hashim <
[email protected]
>
Cc: Albert ARIBAUD <
[email protected]
>
Cc: Amit Virdi <
[email protected]
>
Cc: Sonic Zhang <
[email protected]
>
drivers/net/designware.h
patch
|
blob
|
history
diff --git
a/drivers/net/designware.h
b/drivers/net/designware.h
index afeaccec19a4858ecc61d26834fb2d2478656ef5..382b0c7f0a66c2a9dd4dab562a13f16f780e2bda 100644
(file)
--- a/
drivers/net/designware.h
+++ b/
drivers/net/designware.h
@@
-110,7
+110,7
@@
struct dmamacdescr {
u32 dmamac_cntl;
void *dmamac_addr;
struct dmamacdescr *dmamac_next;
-} __aligned(
16
);
+} __aligned(
ARCH_DMA_MINALIGN
);
/*
* txrx_status definitions